package com.zhss.ddd.lottery.draw.activity.dao;

import com.zhss.ddd.lottery.draw.activity.dataobject.LotteryDrawActivityDO;
import org.springframework.stereotype.Repository;

/**
 * 抽奖活动DAO组件
 */
@Repository
public class LotteryDrawActivityDAOImpl implements LotteryDrawActivityDAO {

    // 注入一个mybatis的mapper

    @Override
    public LotteryDrawActivityDO selectById(Long id) {
        System.out.println("根据id去查询数据库，获取到抽奖活动的数据");
        return null;
    }

}
